<?php if (isset($homepage)) { ?>
  <div class="newspage">
    <div class="heading"><?php echo $heading_title; ?></div>
    <?php foreach ($news as $news_story) { ?>
      <div style="border-bottom: 1px solid #DDDDDD; margin-bottom: 8px;">
        <h4><?php echo $news_story['title']; ?></h4>
        <?php echo $news_story['short_description']; ?> &hellip; <a href="<?php echo $news_story['href']; ?>"><?php echo $text_read_more; ?></a></p>
      </div>
    <?php } ?>
  </div>
<?php } else { ?>
  <div class="box">
    <div class="top"><img src="catalog/view/theme/default/image/news.png" alt="" /><?php echo $heading_title; ?></div>
    <div class="middle">
    <?php foreach ($news as $news_story) { ?>
      <div style="border-bottom: 1px solid #DDDDDD; margin-bottom: 8px;">
        <?php echo $news_story['short_description']; ?> &hellip; <a href="<?php echo $news_story['href']; ?>"><?php echo $text_read_more; ?></a></p>
      </div>
    <?php } ?>
    </div>
    <div class="bottom">&nbsp;</div>
  </div>
<?php } ?>
